import request from './request'

export function toggleLike(params) {
  return request({
    url: '/api/likes/toggle',
    method: 'post',
    params
  })
}